﻿using System;
using System.Collections.Generic;
using System.Text;

namespace StockTrader.BusinessService.DataContract
{
    public class DailyOrderData
    {
        private int _firmNo;
        public int FirmNo
        {
            get { return _firmNo; }
            set { _firmNo = value; }
        }
        private DateTime _transDate;
        public System.DateTime TransDate
        {
            get { return _transDate; }
            set { _transDate = value; }
        }
        private string _pcFlag;
        public string PcFlag
        {
            get { return _pcFlag; }
            set { _pcFlag = value; }
        }
        private string _orderSide;
        public string OrderSide
        {
            get { return _orderSide; }
            set { _orderSide = value; }
        }
        private string _symbol;
        public string Symbol
        {
            get { return _symbol; }
            set { _symbol = value; }
        }
        private int _volume;
        public int Volume
        {
            get { return _volume; }
            set { _volume = value; }
        }
        private int _matched;
        public int Matched
        {
            get { return _matched; }
            set { _matched = value; }
        }
        private int _price;
        public int Price
        {
            get { return _price; }
            set { _price = value; }
        }
        private int _time;
        public int Time
        {
            get { return _time; }
            set { _time = value; }
        }
        public string _accountNo;
        public string AccountNo
        {
            get { return _accountNo; }
            set { _accountNo = value; }
        }
        public DailyOrderData(int firmno, DateTime transdate, string pcflag, string orderside, string symbol, int volume, int matched, int price, int time)
        {
            this._firmNo = firmno;
            this._transDate = transdate;
            this._pcFlag = pcflag;
            this._orderSide = orderside;
            this._symbol = symbol;
            this._volume = volume;
            this._matched = matched;
            this._price = price;
            this._time = time;
        }

        public DailyOrderData(int firmno, DateTime transdate, string pcflag, string orderside, string symbol, int volume, int matched, int price, int time, string accountno)
        {
            this._firmNo = firmno;
            this._transDate = transdate;
            this._pcFlag = pcflag;
            this._orderSide = orderside;
            this._symbol = symbol;
            this._volume = volume;
            this._matched = matched;
            this._price = price;
            this._time = time;
            this._accountNo = accountno;
        }

    }
}
